package entitl;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author czl
 * @Date 2023-11-16
 */
public class Staffs {
    private int id;
    private String name;
    private int age;
    private String phone;
    private String pos;
    private LocalDateTime  addTime;
    private LocalDateTime updateTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPos() {
        return pos;
    }

    public void setPos(String pos) {
        this.pos = pos;
    }

    public LocalDateTime getAddTime() {
        return addTime;
    }

    public void setAddTime(LocalDateTime addTime) {
        this.addTime = addTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Staffs(int id, String name, int age, String phone, String pos, LocalDateTime addTime, LocalDateTime updateTime) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.phone = phone;
        this.pos = pos;
        this.addTime = addTime;
        this.updateTime = updateTime;
    }

    public Staffs() {
    }
}